package com.dotflat.staffExtend.po;

import com.dotflat.rest.PO.GroupAreableObjectBasePO;
import com.dotflat.rest.utils.QueryInField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper=true)
public class GroupStaffExtendCareerPO extends GroupAreableObjectBasePO {


    @QueryInField
    @JsonIgnore
    private List<String> areaIds;

    @ApiModelProperty("老师id, 单独创建时需要，与 INFO 对象一起创建时不要")
    private String staffId;

    @ApiModelProperty( value = "开始时间", required = true)
    private Date beginDate = new Date();

    @ApiModelProperty(value = "datetime default NOW() COMMENT '结束时间'", required = true)
    private Date endDate = new Date();

    @ApiModelProperty("varchar(512)  COMMENT '描述'")
    private String description;
}
